package com.example.demo.entity;

import java.time.LocalDateTime;
import java.util.Date;
import java.io.Serializable;

/**
 * (User)实体类
 *
 * @author makejava
 * @since 2020-04-16 17:14:53
 */
public class User implements Serializable {
    private static final long serialVersionUID = 199136881171614267L;

    /**
     * 主键id
     */
    private Long id;

    /**
     * 姓名
     */
    private String name;

    private LocalDateTime tim;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public LocalDateTime getTim() {
        return tim;
    }

    public void setTim(LocalDateTime tim) {
        this.tim = tim;
    }

    @Override
    public String toString() {
        return "User{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", tim=" + tim +
                '}';
    }
}